package com.wardrobe.mapper.master.booking_order;

import com.wardrobe.domain.booking_order.BookingOrderbean;
import com.wardrobe.domain.common.BackEndFromBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/11/20.
 */
@Component("bookingOrderMasterMapper")
public interface BookingOrderMasterMapper {

    int insertBookingOrder(BookingOrderbean bookingOrderbean);

    int updateBookingOrder(BackEndFromBean fromBean);

    int updateBookingOrderPayTime(long orderId);

    int updateBookingOrderByOrderId(@Param("orderId") long orderId,@Param("status") int status);
}
